package org.jeecg.modules.wangyue.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import javax.validation.constraints.NotBlank;

/**
 * @Description: 提现审核表
 * @Author: jeecg-boot
 * @Date:   2023-06-30
 * @Version: V1.0
 */
@Data
@TableName("tb_withdrawal_review")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="tb_withdrawal_review对象", description="提现审核表")
public class WithdrawalReview {
    
	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
	private String id;
	/**用户id*/
	@Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
	@NotBlank(message = "用户id不能为空")
	private String userId;
	/**用户类型*/
	@Excel(name = "用户类型", width = 15)
    @ApiModelProperty(value = "用户类型")
	@NotBlank(message = "用户类型不能为空")
	private String userType;
	/**真实姓名*/
	@Excel(name = "真实姓名", width = 15)
	@ApiModelProperty(value = "真实姓名")
	@NotBlank(message = "真实姓名不能为空")
	private String realName;
	/**绑定账号*/
	@Excel(name = "绑定账号", width = 15)
	@ApiModelProperty(value = "绑定账号")
	@NotBlank(message = "绑定账号不能为空")
	private String bindingAccount;
	/**付款类型(1-支付宝，2-微信，3-银联)*/
	@Excel(name = "付款类型(1-支付宝，2-微信，3-银联)", width = 15)
	@ApiModelProperty(value = "付款类型(1-支付宝，2-微信，3-银联)")
	@NotBlank(message = "付款类型不能为空")
	private String paymentType;
	/**提现账号*/
	@Excel(name = "提现账号", width = 15)
	@ApiModelProperty(value = "提现账号")
	@NotBlank(message = "提现账号不能为空")
	private String withdrawalAccount;
	/**提现订单标题*/
	@Excel(name = "提现订单标题", width = 15)
	@ApiModelProperty(value = "提现订单标题")
	@NotBlank(message = "提现订单标题不能为空")
	private String withdrawalOrderTitle;
	/**提现订单号*/
	@Excel(name = "提现订单号", width = 15)
	@ApiModelProperty(value = "提现订单号")
	@NotBlank(message = "提现订单号不能为空")
	private String withdrawalOrderNo;
	/**提现用户名*/
	@Excel(name = "提现用户名", width = 15)
	@ApiModelProperty(value = "提现用户名")
	@NotBlank(message = "提现用户名不能为空")
	private String withdrawalUsername;
	/**提现金额*/
	@Excel(name = "提现金额", width = 15)
    @ApiModelProperty(value = "提现金额")
	private java.math.BigDecimal withdrawalAmount;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
	private String notes;
	/**审核状态(0-待审核,1-审核通过,2-驳回)*/
	@Excel(name = "审核状态(0-待审核,1-审核通过,2-驳回)", width = 15)
    @ApiModelProperty(value = "审核状态(0-待审核,1-审核通过,2-驳回)")
	private String reviewStatus;
	/**删除状态(0-正常,1-已删除)*/
	@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
	private String delFlag;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private Date updateTime;
}
